local locks = require "resty.lock"
local cjson = require "cjson"
local toolslua= require "lib.toolslua"
local headers = ngx.req.get_headers()


local headers = ngx.req.get_headers()
local messageUri = ngx.var.uri

ngx.var.resp_body = ngx.arg[1]
    
if toolslua.ignoreUrl()==true then 
    return
 end 

local sentinel= require("sentinel")
local toolslua= require "lib.toolslua"
sentinel.timeRiskControl() 


  
 --ngx.log(ngx.ERR,"=====putNginxCachePage===000get,",key,ngx.var.uri.."  bodyValue ="..resp_body)
toolslua.putNginxCachePage(ngx.var.resp_body)   --有控制开关
  

--ngx.log(ngx.ERR, "data[httpReferer   ]"  )



